﻿// -----------------------------------------------------------------------
// <copyright file="BaseResponse.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

using BasicFrameworkDemo.Utility;

namespace BasicFrameworkDemo.Model
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public class BaseResponse
    {
        public BaseResponse()
        {
            this.Status = 1;
        }

        public int Status { get; set; }

        public string ErrorCode { get; set; }

        public string ErrorMessage
        {
            get { return this.ErrorCode.GetErrorMessage(); }
        }
    }
}
